package org.ielts.domain.log;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

import org.ielts.domain.base.SignCourse;

@Entity
@DiscriminatorValue("ResumeCourse")
public class ResumeCourseLog extends SchoolLog {
	public ResumeCourseLog() {
		setLogType("ResumeCourse");
	}

	@Override
	public String getLogType() {
		return "ResumeCourse";
	}

	@ManyToOne(fetch = FetchType.EAGER)
	private SignCourse signCourse;

	public SignCourse getSignCourse() {
		return signCourse;
	}

	public void setSignCourse(SignCourse signCourse) {
		this.signCourse = signCourse;
	}
}
